// 公用接口
import request from "@/utils/request";
// 获取banner列表
export function getBannerListApi(data) {
	return request({
		url: "/applet/api/home/getBannerList",
		method: "GET",
		data,
	});
}

// 运动类型
export function motionsListApi(dictType) {
	return request({
		url: `/applet/api/common/type/${dictType}`,
		method: "GET",
	});
}


// 查询附近好馆
export function selectNearTShopListApi(data) {
	return request({
		url: "/applet/api/prod/selectNearTShopList",
		method: "POST",
		data,
	});
}

// 查询热门教练推荐
export function qrySpListApi(data) {
	return request({
		url: "/applet/api/prod/qrySp",
		method: "POST",
		data,
	});
}

// 更多为你推荐（场馆）
export function qryShopApi(data) {
	return request({
		url: "/applet/api/prod/qryShop",
		method: "POST",
		data,
	});
}